package client;

import java.io.IOException;
import java.net.Socket;
import java.net.UnknownHostException;

public class TestClient {
	// 127.0.0.1 localhost
	public static void main(String[] args) throws IOException {
		Socket s = new Socket("localhost", 6666);
		System.out.println(s.getInetAddress() + ",local:" + s.getLocalPort()
				+ ",port:" + s.getPort());
		s.close();
	}

}
